package src.messagesToClient;

import java.util.List;

import src.clientSide.MessageIn;
import src.dataStructures.Data;


/**
 * This class provides a list of data objects for the client
 * @author John Stewart
 */
public class GiveDataList extends MessageToClient {
	private List<Data> datalist;

	public GiveDataList(List<Data> datalist) {
		this.datalist = datalist;
	}

	@Override
	public void execute() {
		MessageIn.giveDataList(datalist);
	}

}
